package cn.tedu.egarticle.mapper;

import cn.tedu.egarticle.pojo.dto.UserArticleParam;
import cn.tedu.egarticle.pojo.dto.UserLoginParam;
import cn.tedu.egarticle.pojo.entity.Artivle;
import cn.tedu.egarticle.pojo.vo.ArtivleVo;
import cn.tedu.egarticle.pojo.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    UserVo selectByparm(UserLoginParam param);

    int insertArticle(Artivle artivle);

    ArtivleVo selectByArticleId(Integer id);
}
